<%--
    Document   : alum_AulaVirtualEnlaces
    Created on : 05/01/2012, 10:35:45 AM
    Author     : Cabrera Abanto, Alan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page errorPage="../../error.jsp?from=alum_AulaVirtualEnlaces.jsp" %>
<%@ page import="agb.Modelo.UsuarioWeb" %>

<%@page session="true" %>
<%--@taglib uri="/struts-tags" prefix="s"--%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
            <link href="/SistemaWebAGB_2.0/dinamica/css/admin_1.css" rel="stylesheet" type="text/css" />
            <link href="/SistemaWebAGB_2.0/dinamica/css/alumno.css" rel="stylesheet" type="text/css" />
            <link href="/SistemaWebAGB_2.0/dinamica/css/style.css" rel="stylesheet" type="text/css" />
        
        <title></title>
        <%
            UsuarioWeb oUsuario = new UsuarioWeb();
            oUsuario = (UsuarioWeb) session.getAttribute("usuarioWeb");
        %>

    </head>
    <body>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>
                <td height="143"></td>
                <td colspan="4" valign="top">
                       <form name="frmBuscar"             
                    action="/SistemaWebAGB_2.0/SrvServletAdministrador?accion=registroUsuario"         method="post" target="principal" onsubmit="return validarDatos()">

                    <table align="CENTER" width="75%" border="0" cellpadding="0" id="tabla">
                        <!--DWLayoutTable-->
                        <input type="hidden" name="codPersona" value="<%=oUsuario.getCodPersona()%>"> 
                        <input type="hidden" name="codTipo" value="<%=oUsuario.getCodTipoUsuarioWeb()%>"> 
                        <input type="hidden" name="username" value="<%=oUsuario.getUsernameUsuarioWeb()%>"> 
                        <input type="hidden" name="password" value="<%=oUsuario.getPasswordUsuarioWeb()%>"> 
                        <tr>
                            <td width="32%" align="left"  valign="middle" class="titulo" >Nombre: &nbsp;</td>
                            <td width="68%" align="left" valign="middle" class="txtBase"><%=oUsuario.getNombreUsuarioWeb() %> &nbsp; </td>
                            
                        </tr>

                        <tr >
                            <td align="left"  valign="middle" class="titulo">Apellido Paterno: &nbsp;</td>
                            <td valign="middle" class="txtBase" align="left"> <%=oUsuario.getApellidoPaternoUsuarioWeb() %>&nbsp; </td>
                        </tr>
                         <tr >
                            <td align="left"  valign="middle" class="titulo">Apellido Materno:</td>
                            <td valign="middle"class="txtBase" align="left"><%=oUsuario.getApellidoMaternoUsuarioWeb() %> &nbsp; </td>
                        </tr>
                        <tr>
                            <td align="left"  valign="middle" class="titulo" >Tipo Usuario: &nbsp;</td>
                            <td valign="middle" class="txtBase" align="left"><%=oUsuario.getTipoUsuarioWeb() %> &nbsp; </td>
                        </tr>
                        <tr>
                            <td align="left"  valign="middle" class="titulo" >Username: &nbsp;</td>
                            <td valign="middle" class="txtBase" align="left"><%=oUsuario.getUsernameUsuarioWeb() %> &nbsp; </td>
                        </tr>
                         <tr>
                            <td align="left"  valign="middle" class="titulo">Password: &nbsp;</td>
                            <td valign="middle" class="txtBase" align="left"><%=oUsuario.getPasswordUsuarioWeb() %> &nbsp; </td>
                        </tr>
                        
                        <% 
                        if(oUsuario.getCodTipoUsuarioWeb()==0){}else{
            
          %>
                          <tr >
                            <td align="left"  valign="middle">&nbsp;  </td>
                            <td valign="middle" class="txtBase" align="left">                           
                &nbsp;<input type="submit" value="Registrar" />   </td>
                        </tr>
                  <%}%>
                        </table>
                    </form>
                </td>
            </tr>
            <tr >
                <td height="2">&nbsp;</td>
                <td align="left"><a  style="padding:90px"href="javascript:window.history.back()">Retornar</a><a href="javascript:window.history.back()"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
            </tr>
        </table>
        </body>

</html>